import Request from './request'
import './index.scss'
import icon from '@/imgs/401.gif'

console.log(Request)


// var myIcon = new Image();
// myIcon.src = icon;
// document.getElementById('img2').appendChild(myIcon);

// es6练习
let obj={
    p:['hello',{y:"world"}]
}
let {p:[x,{y}]}=obj
console.log(x,y)

function move({x=0,y=0}){
    console.log([x,y]) 
}

move({x:5})

var tem = new Date()
function f(){
    console.log(tem)
    if(false){
        var tem = 'hello world'
    }
}
f()
